// TestSegExDlg.h : header file
//

#if !defined(AFX_TESTSEGEXDLG_H__8238F73B_87A2_4671_AF43_C72AFAC3B81A__INCLUDED_)
#define AFX_TESTSEGEXDLG_H__8238F73B_87A2_4671_AF43_C72AFAC3B81A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "HLSegFunc.h"
#include "DirDialog.h"
/////////////////////////////////////////////////////////////////////////////
// CTestSegExDlg dialog

class CTestSegExDlg : public CDialog
{
// Construction
public:
	void SetPauseFlag(BOOL bPause);	
	void SetStopFlag();
	void GetFileName(LPCTSTR lpPath,CStringArray& csaFileName);
	void AddNatureString(CString &strWord, DWORD dwPos);
	CTestSegExDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTestSegExDlg)
	enum { IDD = IDD_TESTSEGEX_DIALOG };
	CRichEditCtrl	m_cResult;
	CStatic	m_cPic;
	CString	m_strSource;
	CString	m_strResult;
	BOOL	m_bKeyWord;
	BOOL	m_bPos;
	BOOL	m_bSearch;
	BOOL	m_bFinger;
	CString	m_strFinger;
	CString	m_strKey;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestSegExDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTestSegExDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBtnExit();
	afx_msg void OnBtnSegment();
	afx_msg void OnBtnClear();
	afx_msg void OnBtnLoadFile();
	afx_msg void OnBtnMtest();
	afx_msg void OnClose();
	afx_msg void OnBtnAbout();
	afx_msg void OnStaticPic();
	afx_msg void OnBtnOpenUdict();
	afx_msg void OnBtnCloseudict();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void TreatMessageLoop();
	BOOL m_bPause;
	bool m_bstop;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TESTSEGEXDLG_H__8238F73B_87A2_4671_AF43_C72AFAC3B81A__INCLUDED_)
